package com.jinmdz.fmis.core.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Token信息
 *
 * @author LiCongLu
 * @date 2019-12-30 13:01
 */
@ApiModel(value = "登录请求响应信息", description = "登录请求响应信息，即token信息")
public class TokenInfo extends BaseBean {
    /**
     * 登录会话Token值
     */
    @ApiModelProperty(value = "登录会话Token值", name = "token", position = 1)
    private String token;

    /**
     * 账号主键
     */
    @ApiModelProperty(value = "帐号主键", name = "id", position = 2)
    private Integer userId;

    /**
     * 员工编号
     */
    @ApiModelProperty(value = "员工编号", name = "jobNo", position = 3)
    private String jobNo;

    /**
     * 姓名
     */
    @ApiModelProperty(value = "姓名", name = "fullName", position = 1)
    private String fullName;

    public String getToken() {
        return token;
    }

    public TokenInfo setToken(String token) {
        this.token = token;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public TokenInfo setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public String getJobNo() {
        return jobNo;
    }

    public TokenInfo setJobNo(String jobNo) {
        this.jobNo = jobNo;
        return this;
    }

    public String getFullName() {
        return fullName;
    }

    public TokenInfo setFullName(String fullName) {
        this.fullName = fullName;
        return this;
    }
}
